package com.shu.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.fasterxml.jackson.annotation.JsonProperty;

@Target(ElementType.TYPE)  
@Retention(RetentionPolicy.RUNTIME)

public @interface Index {

	public String value() default "_all";  
	
	  /** 
     * 是否为时间索引
     * @return 
     */  
    boolean time() default false;  
    
    public String type() default "data";
    
    public String aliase() default "";
}
